golang/xenlight: define CpuidPolicyList builtin type
authorNick Rosbrook <rosbrookn@ainfosec.com>
Mon, 16 Dec 2019 18:08:05 +0000 (18:08 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 16 Dec 2019 18:08:05 +0000 (18:08 +0000)
commit186f162c2a1750c0310e5fa7391f07d75a43b680
treed6477dcd4ad57c44fb54406a758d469b673fe335
parentc730fb2a8311a78d267ce737c48c78d5c7de3760
golang/xenlight: define CpuidPolicyList builtin type

Define CpuidPolicyList as a string so that libxl_cpuid_parse_config can
be used in the toC function.

For now, fromC is a no-op since libxl does not support a way to read a
policy, modify it,and then give it back to libxl.

Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/golang/xenlight/xenlight.go